package com.mapper;

import com.dto.GoodsDTO;
import com.dto.UnloadGoodsDTO;
import com.entity.GoodsEntity;
import org.springframework.data.redis.connection.ReactiveSetCommands;

import java.util.List;

public interface GoodsEntityMapper {

    List<GoodsEntity> selectAll(GoodsEntity goodsEntity);
    int[] selectByGname(String gname);
    int selectGidByGname(String gname);
    GoodsEntity selectByGid(Integer gid);
    void modify(GoodsEntity goodsEntity);

    GoodsEntity findByGoodsUniqueNo(String goodsUniqueNo);

    List<GoodsDTO> selectAllAndPlace();

    void insert(GoodsEntity goodsEntity);
}
